<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login page</title>

<link rel="stylesheet" type="text/css" href="css/style.css" />

</head>
<body>

<H4 align="center">BIENVENIDO</H4>
<H3 align="center">KEYLAB SOLUTIONS - IRON LIGISTIC</H3>

<hr>
<table align="center" width="100%" border="0" bgcolor="orange">
<tr>
<td align="center">

<s:form action="loginAuth">

<s:hidden name="loginAttempt" value="%{'1'}" />
<s:textfield label="Usuario" name="userName" />
<s:password label="Clave" name="password"/>

<s:submit name="Login" align="center" />

</s:form>
</td>
<td>
<s:if test="hasActionErrors()">
<div class="errors"><s:actionerror /></div>
</s:if>
<s:if test="hasActionMessages()">
<div class="welcome"><s:actionmessage /></div>
</s:if>
</td>

</tr>
</table>
<hr>

</body>
</html>
